package com.dimaidt.girl.enums;

/**
 * @author : Alex Hu
 * date : 2020/2/26 下午22:44
 * description :
 */
public enum ResultEnum {
    UNKOWN_ERROR(-1, "未知错误"),
    SUCCCESS(0, "成功"),
    PRIMARY_SCHOOL(100, "小学"),
    MIDDLE_SCHOOL(101, "初中"),
    ;
    private Integer code;
    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
